.deal-detail {
    padding-top: 1em;
    margin: auto;
}

.deal-detail .title {
    margin:  1em auto;
    text-align: center;
    font-size: 1.25em;
    color: #a61e4d;
}

.deal-detail .title .copy {
    display: inline-block;
    vertical-align: text-top;
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.5em;
    margin-top: 0.1em;
    cursor: pointer;
    background: url("./bootstrap-icons/icons/clipboard.svg");
    background-size: cover;
}

.deal-detail .title .copy.copied {
    animation: rotate 0.5s infinite;
}

@keyframes rotate {
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
}

.deal-detail table {
    font-size: 1em;
}

.deal-detail table.deal-fields {
    margin-bottom: 1em;
}

.deal-detail table.deal-fields tr td:first-child {
    width: 8em;
}
.deal-detail table.deal-fields tr td:last-child {
    line-break: anywhere;
}

.deal-detail table.deal-fields th {
    text-align: left;
}

.deal-detail td, .deal-detail th {
    padding: 0.5em 1em;
}

.since-last, .aux {
    color: #999;
}

.deal-detail .buttons {
    display: inline-block;
    float: right;
}

.deal-detail h3 {
    margin-top: 2em;
}

.deal-detail .deal-logs .deal-log.since-s td {
    padding-top: 2em;
}

.deal-detail .deal-logs .deal-log.since-multi-s td {
    padding-top: 4em;
}

.deal-detail .deal-logs .at {
    white-space: nowrap;
}

.deal-detail .deal-logs td {
    vertical-align: top;
}

.deal-detail .deal-logs .subsystem {
    color: #2c7be5;
}

.deal-detail .deal-logs .param {
    position: relative;
    color: #777777;
    line-height: 1.5em;
}

.deal-detail .deal-logs .param.expandable > .param-name {
    cursor: pointer;
}

.deal-detail .deal-logs .param .param {
    padding-left: 1em;
    display: none;
}
.deal-detail .deal-logs .param.expanded .param {
    display: block;
}

.deal-detail .deal-logs .param .expand-collapse {
    margin-left: 0.5em;
    opacity: 0.5;
    width: 0.8em;
    height: 0.8em;
    display: inline-block;
    background: url("./bootstrap-icons/icons/caret-right-fill.svg");
    background-size: cover;
}

.deal-detail .deal-logs .param.expanded .expand-collapse {
    background: url("./bootstrap-icons/icons/caret-down-fill.svg")
}
